package cn.ehanghai.iot.exception;

import cn.ehanghai.iot.enums.ResultEnum;

/**
 * @author xumf
 * @date 2019/7/6 20:54
 */
public class WeixinException extends RuntimeException {
    private Integer code;

    public WeixinException(ResultEnum resultEnum) {
        super(resultEnum.getMessage());
        this.code = resultEnum.getCode();
    }
}
